package com.ruoyi.system.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.system.api.factory.RemoteCropFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * crop服务
 *
 * @author ruoyi
 */
@FeignClient(contextId = "remoteCropService", value = ServiceNameConstants.CROP_SERVICE, fallbackFactory = RemoteCropFallbackFactory.class)
public interface RemoteCropService
{
    @GetMapping("/crop/FeignList")
    AjaxResult FeignList();
}
